<?php
/**
 * Default layout per Alessandro Pavesi
 */
defined('_JEXEC') or die('Restricted access');
?>

	<div id="canvas">
		<?php 
		// Includo layout header
		include($templateLoader -> getBaseTemplatePath($this, $option, $task, $Itemid, $_REQUEST) . "__header" . EC_TEMPLATE_EXT);
		?>
		
		<div id="contenuto">
			<?php 
			// Includo layout header
			include($templateLoader -> getBaseTemplatePath($this, $option, $task, $Itemid, $_REQUEST) . "__sx" . EC_TEMPLATE_EXT);
			?>
			
			<div id="corpo-centrale">
				<jdoc:include type="component" />
								
				<div id="segnalazioni-pericolo">
					<h3>Visualizza la mappa delle segnalazioni</h3>
					
					<div id="leggenda">
						<p>
							<img src="<?php echo JURI::root(true).'/templates/' . $this->template ?>/img/segnala-pericolo/risolto.gif" alt="risolto pericolo"/>
							emergenze risolte
						</p>
						
						<p>
							<img src="<?php echo JURI::root(true).'/templates/' . $this->template ?>/img/segnala-pericolo/segnalato.gif" alt="segnalato pericolo"/>
							emergenze segnalate
						</p>
					</div>
					
					<div id="gmap">
						<jdoc:include type="modules" name="inner" />
					</div>
										
				</div>
				
				<?php 
				// Includo layout header
				include($templateLoader -> getBaseTemplatePath($this, $option, $task, $Itemid, $_REQUEST) . "__back" . EC_TEMPLATE_EXT);
				?>

			</div>
			
			<?php 
			// Includo layout header
			include($templateLoader -> getBaseTemplatePath($this, $option, $task, $Itemid, $_REQUEST) . "__dx" . EC_TEMPLATE_EXT);
			?>
			
			<div class="pulizia"></div>
		</div>

		<?php 
		// Includo layout footer
		include($templateLoader -> getBaseTemplatePath($this, $option, $task, $Itemid, $_REQUEST) . "__footer" . EC_TEMPLATE_EXT);
		?>

	</div>